 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui">

    <f:view contentType="text/html" id="clouds">
        <h:head>
            <f:facet name="first">
                <meta content='text/html; charset=UTF-8' http-equiv="Content-Type"/>
                <title>R2-L2 - Automação Residencial</title>
            </f:facet>
            <h:outputStylesheet library="css" name="style.css" />
            <h:outputStylesheet library="css" name="clouds.css" />
        </h:head>

        <h:body id="container">
            
            <h:outputScript name="webSpeech.js" library="js" />
            
                <p:panel styleClass="cloud x1"></p:panel>                
                <p:panel styleClass="cloud x2"></p:panel>
                <p:panel styleClass="cloud x3"></p:panel>
                <p:panel styleClass="cloud x4"></p:panel>
                <p:panel styleClass="cloud x5"></p:panel>             
                <p:panel id="grass"></p:panel>
                <p:panel styleClass="menuContainer" id="menu" rendered="#{layoutController.menuVisible}">
                    <f:ajax listener="#{layoutController.dynamicRender}" event="toggle"/>
                    <!-- Menu -->
                    <ul class="sidenav">
                        <li><a href="#"><i class="fa fa-check"></i><b>Tasks</b></a></li>
                        <li><a href="#"><i class="fa fa-check"></i><b>Tasks</b></a></li>
                        <li><a href="#"><i class="fa fa-check"></i><b>Tasks</b></a></li>
                        <li><a href="#"><i class="fa fa-check"></i><b>Tasks</b></a></li>
                        <li><a href="#"><i class="fa fa-check"></i><b>Tasks</b></a></li>
                    </ul>
                </p:panel>
                <p:panel id="houseContainer">
                     <p:panel id="house"></p:panel>
                     <p:panel id="windowContainer1"></p:panel>
                     <p:panel id="windowContainer2"></p:panel>
                     <p:panel styleClass="door"></p:panel>
                     <p:panel styleClass="door d2"></p:panel>
                     <p:panel styleClass="door d3"></p:panel>
                     <p:panel id="houseFooter"></p:panel>
                </p:panel>
               <!--
               <p:panel styleClass="roof r1"></p:panel>
               <p:panel styleClass="roof r2"></p:panel>
               <p:panel styleClass="roof r3"></p:panel>
               <p:panel styleClass="roof r4"></p:panel>
               <p:panel styleClass="roof r5"></p:panel>
               -->
               <!--
                <p:panel id="r2l2_home">
                    <p:graphicImage url="resources/img/r2l2_home.gif"
                                    alt="R2-L2!"/>  
                </p:panel>
               -->
               <p id="feedback"></p>
                <p id="lastCommand"></p>
                <h:form id="testForm">
                    <h:commandLink id="hdnBtn" onclick="#{layoutController.listen(true)}" style="position: absolute;top: 0;">Test</h:commandLink>
                </h:form>
                <p:panel id="bottom">
                    <p>Copyright - Skywalker Development</p>
                </p:panel>
                
        </h:body>

    </f:view>
</html>


